package com.bkgy.modular.tbprospeed.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bkgy.commom.model.Temp2;
import com.bkgy.modular.tbprospeed.entity.SpeedStatisticsResp;
import com.bkgy.modular.tbprospeed.entity.TbProSpeedData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author:Lipeng Zhao
 * Description:
 *
 * @Date:Created In 10:20 2025/10/18
 */
@Mapper
public interface TbProSpeedDao {

    public List<TbProSpeedData> findDataTbProSpeedDataByPage(
            Page<?> page,
            @Param("condition") Object condition
    );

    public Integer findDataTbProSpeedDataByPageSize(
            @Param("condition") Object condition
    );

    public List<SpeedStatisticsResp> speedStatisticsByShift();

    public List<SpeedStatisticsResp> speedStatisticsBySteelGrade();

    List<Temp2> selectReWeldRate(String beginDate, String endDate, String steelGrade);

    List<String> selectCrew(String beginDate, String endDate);
}
